﻿using Microsoft.Office.Tools.Ribbon;

namespace AuthoringClientWordAddIn
{
    public partial class PublishingRibbon
    {
        private ThisAddIn _thisAddIn;

        public PublishingRibbon(ThisAddIn thisAddIn) : this()
        {
            _thisAddIn = thisAddIn;
        }

        private void PublishingRibbon_Load(object sender, RibbonUIEventArgs e)
        {

        }

        private void ShowPublishPaneButton_Click(object sender, RibbonControlEventArgs e)
        {
            _thisAddIn.ShowPublishPane();
        }
    }
}
